﻿using Awsc.DataAcquisitionSys.Core.Models.ServiceModels;
using Awsc.DataAcquisitionSys.Core.Services.DataAcquisition.DataCollectors;


namespace Awsc.DataAcquisitionSys.Core.Service.DataAcquisition.DataCollectors
{
    public class AbstractCollector : DataCollector
    {
        public AbstractCollector(DataCollectionContext dataCollectionContext) : base(dataCollectionContext)
        {
        }


        public override void CloseConnection()
        {

        }

        public async override Task CollectSensorDataAsync()
        {

            await CollectDataInternalAsync();
        }
        protected async Task CollectDataInternalAsync()
        {
            Status = DevStatus.S_OK;
        }

        public override void Connect()
        {
        }
    }
}
